package com.lbx.config;

import org.springframework.context.annotation.Bean;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

/**
 * @author 吕兵星
 * @date 2020/11/10 19:58
 */
@Component
public class JredisConfig {
    @Bean
    public RedisTemplate getRedisTemplate(){
        return new RedisTemplate();
    }
}
